package com.app.ui.dialog;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;

import com.t.t.R;


/**
 * 自定义进度条,当发起网络请求时显示该对话框，让用户等待
 */
public class DialogCustomWaiting extends Dialog {


    public DialogCustomWaiting(Context context) {
        super(context, R.style.WaitingDialog);
    }



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.dialog_waiting);
        setCanceledOnTouchOutside(false);

    }


 }
